package org.wu.framework.easy.markdown.stereotype.markdown;


import org.wu.framework.easy.markdown.endpoint.EasyMarkDownFieldPoint;

import java.lang.annotation.*;

/**
 * description 导出md字段注解
 *
 * @author Jia wei Wu
 * @date 2020/10/5 下午7:08
 * @see EasyMarkDownFieldPoint
 */
@Target({ElementType.FIELD, ElementType.ANNOTATION_TYPE, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface EasyMarkDownField {

    /**
     * 列名
     *
     * @return String
     */
    String name();

    /**
     * 是否是基本数据类型，默认是基础数据类型
     *
     * @return boolean
     */
    boolean isBasicDataType() default true;

}
